package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.dto.UserLoginParam;
import cn.tedu._03vehicle.pojo.entity.User;
import cn.tedu._03vehicle.pojo.vo.UserLoginVO;
import cn.tedu._03vehicle.pojo.vo.UserVO;

import java.util.List;

public interface UserMapper {
    int addUser(User user);

    int selectByUsername(String username);

    UserLoginVO login(UserLoginParam userLoginParam);

    List<UserVO> getCurrentUser();
}
